
package com.qingzhuge.member.entity;

import com.qingzhuge.entity.BasePkLongEntity;
import com.qingzhuge.member.enums.EnumUserMessageType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "sys_help")
public class SysHelp extends BasePkLongEntity {
    /**
     * 消息类型
     */
    private EnumUserMessageType type;
    /**
     * 消息内容
     */
    @Column(columnDefinition = "text")
    private String content;


    public SysHelp() {
    }

    public SysHelp(Long id) {
        super(id);
    }
}
